package cn.bytepath.org.query;

import cn.bytepath.base.query.BaseQuery;
import lombok.*;

/**
 * 存放部门查询条件的类
 * @author Jack.C
 * @createDate 2022-01-18
 * @version 1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class DepartmentQuery extends BaseQuery {

    /**
     * 部门名字
     */
    private String name;

    @Override
    public String toString() {
        return "DepartmentQuery{" +
                "name='" + name + '\'' +
                "PSize=" + super.getPSize() +
                ", cPage=" + super.getCPage() +
                '}';
    }
}
